package com.imti.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.imti.dao.ProductDao;
import com.imti.dot.ProductDot;
import com.imti.entity.Product;
import com.imti.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (Product)表服务实现类
 *
 * @author makejava
 * @since 2023-02-03 15:06:05
 */
@Service("productService")
public class ProductServiceImpl extends ServiceImpl<ProductDao, Product> implements ProductService {


    @Autowired
    private ProductDao productDao;

    @Override
    public List<ProductDot> FindProductInfoByName(String productName){
       return productDao.FindProductInfoByName(productName);
    }
}

